package com.symone.webcms.service;

import com.symone.webcms.model.Site;
import com.baomidou.mybatisplus.service.IService;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import java.util.List;
/**
 *   @description : Site 服务接口
 *   ---------------------------------
 * 	 @author Archer Chu
 *   @since 2019-03-19
 */
public interface SiteService extends IService<Site> {

        boolean insert(Site site);

        Page<Site> findPage(Page<Site> page, Wrapper<Site> site);

        List<Site> findAll();

        int delete(long id);

        boolean deleteFlagById(long id);

        int clear();

}
